]> dgit.raspbian.org Git - gnome-shell.git/commit
search: Define SearchResultInterface and implement valid results with it
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Wed, 16 Oct 2019 10:38:48 +0000 (12:38 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Wed, 16 Oct 2019 15:26:13 +0000 (15:26 +0000)
commit91a51331163b7e1ef6c13cbd787d45c396eb6cea
treec56a35fa2d2b746dfb38796e17292bdd31e41a1f
parentc4c5c4fd5ce1509fc0a60a77f0017337209e611c
search: Define SearchResultInterface and implement valid results with it

Since all the search result classes are now GObject classes, we can enforce
the methods we want to have in there (just activate() for now) using an
interface, to make sure they are implementing what we require and to easily
group all the classes that can be used as search results, even though they
are not extending SearchResult.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/559
js/ui/appDisplay.js
js/ui/search.js